package zzhyc.keystore

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import zzhyc.keystore.databinding.ActivityMainBinding
import zzhyc.keystore.sigmob.SigmobActivity

class MainActivity : AppCompatActivity() {

    private val binding by lazy { ActivityMainBinding.inflate(layoutInflater) }
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(binding.root)

        //跳转优量汇
        binding.mainBtnYLH.setOnClickListener {
            startActivity(Intent(this@MainActivity, HLYActivity::class.java))
            finish()
        }

        //快手
        binding.mainBtnKS.setOnClickListener {
            startActivity(Intent(this@MainActivity, ShouKuaiActivity::class.java))
            finish()
        }

        //sigmob
        binding.mainBtnSigmob.setOnClickListener {
            startActivity(Intent(this@MainActivity, SigmobActivity::class.java))
            finish()
        }
    }
}